package com.daodway.designpattern.commandpattern.command;

import org.junit.Test;

public class Client {
	@Test
	public void main(){
		CompanyArmy companyArmy=new CompanyArmy();
		Command command = new ConcreteCommand(companyArmy);
		
		ArmySuperior armySuperior=new ArmySuperior();
		armySuperior.setCommand(command);
		
		armySuperior.startExecuteCommand();
	}
}
